<?php if( $partner->getStatusId() == MyConstants::STATUS_APPROVED): ?>
    <?php echo link_to(__('disable'), 'partners/status?id=' . $partner->getId()) ?>
<?php else: ?>
    <?php echo link_to(__('enable'), 'partners/status?id=' . $partner->getId()) ?>
<?php endif; ?>